package com.liuwei.msmall.common.exception;

import lombok.Getter;

/**
 * @author llww
 * @date 2021/2/25 14:49
 */
@Getter
public class BusinessException extends RuntimeException {

    private Integer code;

    private String userMessage;

    public BusinessException(Integer code,String msg){
        super(msg);
        this.userMessage = msg;
        this.code = code;
    }


}
